#include"debuggers.h"
#include<vector>
#include<string>
#include<map>
using namespace std;

wchar_t* _debugInfo;

extern "C" __declspec(dllexport) wchar_t* __stdcall getDebug(wchar_t* code,short codeLength){
	wchar_t* debugInfo = new wchar_t[INFO_SIZE];

	debugger(code,codeLength,debugInfo);

	_debugInfo=debugInfo;
	return debugInfo;
}

extern "C" __declspec(dllexport) void __stdcall releaseDebug(){
	if(_debugInfo!=NULL) delete[] _debugInfo;
}